<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript">
    	$(document).ready(function(){
    		$('#del_finger_menu').menu(); 
    		$('#vendor').combobox({onLoadSuccess:reset_vendor});
     		$('#verify_cfinger_detail_panel').window({onClose:function(){
     		  $('#finger').val('');
     		  $('#ver_result').text('');
     		},onOpen:function(){
     			$('#vendor').combobox('reload','queryVendors.action');
     		}});
    		
     		$('#verifyfinger').click(function (){
     			if (get_finger_feature()==false){
     			  return;
     			}
                post_request('verifyCustomerFinger.action',{
                	identifyno:$('#identifyno').text(), verresult:$('#ver_result').text(),
                  finger:$('#finger').val(),vendor:$('#vendor').combobox('getValue')},
                  function (data){
                    $.messager.alert('比对客户指纹', data.result.message, 'info');
                    
                    $('#ver_result').text(data.result.message);
                  });
    		});
    	});
    </script>
	</head>
	<body>
	
    <div id="verify_cfinger_detail_panel" collapsible="false" fit="false" title="比对客户指纹" 
    	resizable="false" collapsible="false" minimizable="false" maximizable="false" 
    	closable="true" closed="true" icon="icon-save" modal="true" class="jquery_window">
    	<s:form id="verify_cfinger_form" action="verifyCustomerFinger" 
    		cssStyle="margin:20px,30px,30px,50px">
    		<s:hidden id="finger"></s:hidden>
    		<table>
    			<tr height="24px">
    				<td><s:label value="所属机构："></s:label></td>
    				<td width="220px"><s:label id="deptno"></s:label></td>
    			</tr>
    			<tr height="24px">
    				<td><s:label value="身份证号："></s:label></td>
    				<td width="220px"><s:label id="identifyno"></s:label>
    				<s:hidden id="identifyno_val" name="identifyno"/></td>
    			</tr>
    			<tr height="24px">
    				<td><s:label value="姓名："></s:label></td>
    				<td width="220px"><s:label id="name"></s:label></td>
    			</tr>
    			<tr height="24px">
    				<td><s:label value="操作员：" ></s:label></td>
    				<td width="220px"><s:label id="modmgr"></s:label></td>
    			</tr>
    			<tr><td colspan="2"><s:include value="/app/finger_hand.jsp">
    				<s:param name="mode" value="1"/></s:include></td></tr>
    			<tr height="24px">
    				<td><s:label value="指纹厂商:" for="vendor"/></td>
    				<td width="220px"><input valueField="vendorid" textField="vendorname" 
    					id="vendor" name="vendor" class="easyui-combobox" 
    					panelHeight="auto" editable="false"/></td>
    			</tr>
    			<tr height="40px">
    				<td colspan="2" align="left">
    					<button id="verifyfinger" class="buttons_css" style="width:100px">验证客户指纹</button>
    					<s:label style="width:10px"></s:label>
    					<s:label id="ver_result"></s:label>
    				</td>
    			</tr>
    		</table>
    	</s:form>
    </div>
    </body>
</html>